package com.cloud.alibaba.producer;

import com.cloud.alibaba.producer.test.ExtraBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.bus.jackson.RemoteApplicationEventScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@EnableDiscoveryClient
@Import({ExtraBean.class})
@RemoteApplicationEventScan(basePackageClasses = {com.cloud.yangfeiself.event.DistributeEvent.class})
@EnableAspectJAutoProxy
public class AlibabaCloudProducerApplication {

    public static void main(String[] args) {
        SpringApplication.run(AlibabaCloudProducerApplication.class, args);
    }

}
